CVE-2025-9086
Out of bounds read for cookie path
Description
1. A cookie is set using the `secure` keyword for `https://target` 2. curl is redirected to or otherwise made to speak with `http://target` (same hostname, but using clear text HTTP) using the same cookie set 3. The same cookie name is set - but with just a slash as path (`path=\"/\",`). Since this site is not secure, the cookie *should* just be ignored. 4. A bug in the path comparison logic makes curl read outside a heap buffer boundary The bug either causes a crash or it potentially makes the comparison come to the wrong conclusion and lets the clear-text site override the contents of the secure cookie, contrary to expectations and depending on the memory contents immediately following the single-byte allocation that holds the path. The presumed and correct behavior would be to plainly ignore the second set of the cookie since it was already set as secure on a secure host so overriding it on an insecure host should not be okay.
INFO
Published Date :
Sept. 12, 2025, 6:15 a.m.
Last Modified :
Jan. 20, 2026, 2:58 p.m.
Remotely Exploit :
Yes !
Source :
2499f714-1537-4658-8207-48ae4bb9eae9
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update affected software to the latest version.
- Review cookie handling and path comparison logic.
- Ensure secure cookie attributes are respected.
- Test extensively for memory corruption issues.
Public PoC/Exploit Available at Github
CVE-2025-9086 has a 6 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-9086.
| URL | Resource |
|---|---|
| https://curl.se/docs/CVE-2025-9086.html | Vendor Advisory Patch |
| https://curl.se/docs/CVE-2025-9086.json | Vendor Advisory |
| https://hackerone.com/reports/3294999 | Exploit Issue Tracking Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2025/09/10/1 | Mailing List Third Party Advisory Patch |
| https://lists.debian.org/debian-lts-announce/2026/01/msg00002.html | Mailing List Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-9086 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-9086
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Java JavaScript HTML CSS Dockerfile
This is an attempt to create an end-to-end DevSecOps lab for the OWASP Juice Shop, embedding security controls into the software development lifecycle with hands-on tooling.
Dockerfile Open Policy Agent Python
A powerful Kubernetes debugging tool that enables network capture, command execution, and file operations across multiple pods and nodes simultaneously through privileged debug pods.
Shell
DSA and DLA for Debian last 14 days
Python
Toolkit for k8s administrators/developers.
Dockerfile Shell
Le site web de Zayidu
zayidu
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-9086 vulnerability anywhere in the article.
-
seclists.org
APPLE-SA-12-12-2025-5 macOS Sonoma 14.8.3
Full Disclosure mailing list archives From: Apple Product Security via Fulldisclosure <fulldisclosure () seclists org> Date: Fri, 12 Dec 2025 14:57:52 -0700 -----BEGIN PGP SIGNED MESSAGE----- Hash: SH ... Read more
-
seclists.org
APPLE-SA-12-12-2025-4 macOS Sequoia 15.7.3
Full Disclosure mailing list archives From: Apple Product Security via Fulldisclosure <fulldisclosure () seclists org> Date: Fri, 12 Dec 2025 14:56:36 -0700 -----BEGIN PGP SIGNED MESSAGE----- Hash: SH ... Read more
The following table lists the changes that have been made to the
CVE-2025-9086 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 20, 2026
Action Type Old Value New Value Added CWE CWE-125 Added CPE Configuration OR *cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:* versions from (including) 8.13.0 up to (excluding) 8.16.0 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2025/09/10/1 Types: Mailing List, Patch, Third Party Advisory Added Reference Type curl: https://curl.se/docs/CVE-2025-9086.html Types: Patch, Vendor Advisory Added Reference Type curl: https://curl.se/docs/CVE-2025-9086.json Types: Vendor Advisory Added Reference Type curl: https://hackerone.com/reports/3294999 Types: Exploit, Issue Tracking, Third Party Advisory Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2026/01/msg00002.html Types: Mailing List, Third Party Advisory -
CVE Modified by 2499f714-1537-4658-8207-48ae4bb9eae9
Jan. 08, 2026
Action Type Old Value New Value Changed Description 1. A cookie is set using the `secure` keyword for `https://target` 2. curl is redirected to or otherwise made to speak with `http://target` (same hostname, but using clear text HTTP) using the same cookie set 3. The same cookie name is set - but with just a slash as path (`path='/'`). Since this site is not secure, the cookie *should* just be ignored. 4. A bug in the path comparison logic makes curl read outside a heap buffer boundary The bug either causes a crash or it potentially makes the comparison come to the wrong conclusion and lets the clear-text site override the contents of the secure cookie, contrary to expectations and depending on the memory contents immediately following the single-byte allocation that holds the path. The presumed and correct behavior would be to plainly ignore the second set of the cookie since it was already set as secure on a secure host so overriding it on an insecure host should not be okay. 1. A cookie is set using the `secure` keyword for `https://target` 2. curl is redirected to or otherwise made to speak with `http://target` (same hostname, but using clear text HTTP) using the same cookie set 3. The same cookie name is set - but with just a slash as path (`path=\"/\",`). Since this site is not secure, the cookie *should* just be ignored. 4. A bug in the path comparison logic makes curl read outside a heap buffer boundary The bug either causes a crash or it potentially makes the comparison come to the wrong conclusion and lets the clear-text site override the contents of the secure cookie, contrary to expectations and depending on the memory contents immediately following the single-byte allocation that holds the path. The presumed and correct behavior would be to plainly ignore the second set of the cookie since it was already set as secure on a secure host so overriding it on an insecure host should not be okay. -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Jan. 05, 2026
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2026/01/msg00002.html -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 04, 2025
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2025/09/10/1 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Sep. 12, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H -
New CVE Received by 2499f714-1537-4658-8207-48ae4bb9eae9
Sep. 12, 2025
Action Type Old Value New Value Added Description 1. A cookie is set using the `secure` keyword for `https://target` 2. curl is redirected to or otherwise made to speak with `http://target` (same hostname, but using clear text HTTP) using the same cookie set 3. The same cookie name is set - but with just a slash as path (`path='/'`). Since this site is not secure, the cookie *should* just be ignored. 4. A bug in the path comparison logic makes curl read outside a heap buffer boundary The bug either causes a crash or it potentially makes the comparison come to the wrong conclusion and lets the clear-text site override the contents of the secure cookie, contrary to expectations and depending on the memory contents immediately following the single-byte allocation that holds the path. The presumed and correct behavior would be to plainly ignore the second set of the cookie since it was already set as secure on a secure host so overriding it on an insecure host should not be okay. Added Reference https://curl.se/docs/CVE-2025-9086.html Added Reference https://curl.se/docs/CVE-2025-9086.json Added Reference https://hackerone.com/reports/3294999